package com.xtpt.disaster.bean;

import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@Component
public class TaskInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TaskInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTaskIdIsNull() {
            addCriterion("task_id is null");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNotNull() {
            addCriterion("task_id is not null");
            return (Criteria) this;
        }

        public Criteria andTaskIdEqualTo(Long value) {
            addCriterion("task_id =", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotEqualTo(Long value) {
            addCriterion("task_id <>", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThan(Long value) {
            addCriterion("task_id >", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThanOrEqualTo(Long value) {
            addCriterion("task_id >=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThan(Long value) {
            addCriterion("task_id <", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThanOrEqualTo(Long value) {
            addCriterion("task_id <=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdIn(List<Long> values) {
            addCriterion("task_id in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotIn(List<Long> values) {
            addCriterion("task_id not in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdBetween(Long value1, Long value2) {
            addCriterion("task_id between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotBetween(Long value1, Long value2) {
            addCriterion("task_id not between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskNameIsNull() {
            addCriterion("task_name is null");
            return (Criteria) this;
        }

        public Criteria andTaskNameIsNotNull() {
            addCriterion("task_name is not null");
            return (Criteria) this;
        }

        public Criteria andTaskNameEqualTo(String value) {
            addCriterion("task_name =", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotEqualTo(String value) {
            addCriterion("task_name <>", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameGreaterThan(String value) {
            addCriterion("task_name >", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameGreaterThanOrEqualTo(String value) {
            addCriterion("task_name >=", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLessThan(String value) {
            addCriterion("task_name <", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLessThanOrEqualTo(String value) {
            addCriterion("task_name <=", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLike(String value) {
            addCriterion("task_name like", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotLike(String value) {
            addCriterion("task_name not like", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameIn(List<String> values) {
            addCriterion("task_name in", values, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotIn(List<String> values) {
            addCriterion("task_name not in", values, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameBetween(String value1, String value2) {
            addCriterion("task_name between", value1, value2, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotBetween(String value1, String value2) {
            addCriterion("task_name not between", value1, value2, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskDescIsNull() {
            addCriterion("task_desc is null");
            return (Criteria) this;
        }

        public Criteria andTaskDescIsNotNull() {
            addCriterion("task_desc is not null");
            return (Criteria) this;
        }

        public Criteria andTaskDescEqualTo(String value) {
            addCriterion("task_desc =", value, "taskDesc");
            return (Criteria) this;
        }

        public Criteria andTaskDescNotEqualTo(String value) {
            addCriterion("task_desc <>", value, "taskDesc");
            return (Criteria) this;
        }

        public Criteria andTaskDescGreaterThan(String value) {
            addCriterion("task_desc >", value, "taskDesc");
            return (Criteria) this;
        }

        public Criteria andTaskDescGreaterThanOrEqualTo(String value) {
            addCriterion("task_desc >=", value, "taskDesc");
            return (Criteria) this;
        }

        public Criteria andTaskDescLessThan(String value) {
            addCriterion("task_desc <", value, "taskDesc");
            return (Criteria) this;
        }

        public Criteria andTaskDescLessThanOrEqualTo(String value) {
            addCriterion("task_desc <=", value, "taskDesc");
            return (Criteria) this;
        }

        public Criteria andTaskDescLike(String value) {
            addCriterion("task_desc like", value, "taskDesc");
            return (Criteria) this;
        }

        public Criteria andTaskDescNotLike(String value) {
            addCriterion("task_desc not like", value, "taskDesc");
            return (Criteria) this;
        }

        public Criteria andTaskDescIn(List<String> values) {
            addCriterion("task_desc in", values, "taskDesc");
            return (Criteria) this;
        }

        public Criteria andTaskDescNotIn(List<String> values) {
            addCriterion("task_desc not in", values, "taskDesc");
            return (Criteria) this;
        }

        public Criteria andTaskDescBetween(String value1, String value2) {
            addCriterion("task_desc between", value1, value2, "taskDesc");
            return (Criteria) this;
        }

        public Criteria andTaskDescNotBetween(String value1, String value2) {
            addCriterion("task_desc not between", value1, value2, "taskDesc");
            return (Criteria) this;
        }

        public Criteria andTaskStarttimeIsNull() {
            addCriterion("task_starttime is null");
            return (Criteria) this;
        }

        public Criteria andTaskStarttimeIsNotNull() {
            addCriterion("task_starttime is not null");
            return (Criteria) this;
        }

        public Criteria andTaskStarttimeEqualTo(Date value) {
            addCriterion("task_starttime =", value, "taskStarttime");
            return (Criteria) this;
        }

        public Criteria andTaskStarttimeNotEqualTo(Date value) {
            addCriterion("task_starttime <>", value, "taskStarttime");
            return (Criteria) this;
        }

        public Criteria andTaskStarttimeGreaterThan(Date value) {
            addCriterion("task_starttime >", value, "taskStarttime");
            return (Criteria) this;
        }

        public Criteria andTaskStarttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("task_starttime >=", value, "taskStarttime");
            return (Criteria) this;
        }

        public Criteria andTaskStarttimeLessThan(Date value) {
            addCriterion("task_starttime <", value, "taskStarttime");
            return (Criteria) this;
        }

        public Criteria andTaskStarttimeLessThanOrEqualTo(Date value) {
            addCriterion("task_starttime <=", value, "taskStarttime");
            return (Criteria) this;
        }

        public Criteria andTaskStarttimeIn(List<Date> values) {
            addCriterion("task_starttime in", values, "taskStarttime");
            return (Criteria) this;
        }

        public Criteria andTaskStarttimeNotIn(List<Date> values) {
            addCriterion("task_starttime not in", values, "taskStarttime");
            return (Criteria) this;
        }

        public Criteria andTaskStarttimeBetween(Date value1, Date value2) {
            addCriterion("task_starttime between", value1, value2, "taskStarttime");
            return (Criteria) this;
        }

        public Criteria andTaskStarttimeNotBetween(Date value1, Date value2) {
            addCriterion("task_starttime not between", value1, value2, "taskStarttime");
            return (Criteria) this;
        }

        public Criteria andTaskEndtimeIsNull() {
            addCriterion("task_endtime is null");
            return (Criteria) this;
        }

        public Criteria andTaskEndtimeIsNotNull() {
            addCriterion("task_endtime is not null");
            return (Criteria) this;
        }

        public Criteria andTaskEndtimeEqualTo(Date value) {
            addCriterion("task_endtime =", value, "taskEndtime");
            return (Criteria) this;
        }

        public Criteria andTaskEndtimeNotEqualTo(Date value) {
            addCriterion("task_endtime <>", value, "taskEndtime");
            return (Criteria) this;
        }

        public Criteria andTaskEndtimeGreaterThan(Date value) {
            addCriterion("task_endtime >", value, "taskEndtime");
            return (Criteria) this;
        }

        public Criteria andTaskEndtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("task_endtime >=", value, "taskEndtime");
            return (Criteria) this;
        }

        public Criteria andTaskEndtimeLessThan(Date value) {
            addCriterion("task_endtime <", value, "taskEndtime");
            return (Criteria) this;
        }

        public Criteria andTaskEndtimeLessThanOrEqualTo(Date value) {
            addCriterion("task_endtime <=", value, "taskEndtime");
            return (Criteria) this;
        }

        public Criteria andTaskEndtimeIn(List<Date> values) {
            addCriterion("task_endtime in", values, "taskEndtime");
            return (Criteria) this;
        }

        public Criteria andTaskEndtimeNotIn(List<Date> values) {
            addCriterion("task_endtime not in", values, "taskEndtime");
            return (Criteria) this;
        }

        public Criteria andTaskEndtimeBetween(Date value1, Date value2) {
            addCriterion("task_endtime between", value1, value2, "taskEndtime");
            return (Criteria) this;
        }

        public Criteria andTaskEndtimeNotBetween(Date value1, Date value2) {
            addCriterion("task_endtime not between", value1, value2, "taskEndtime");
            return (Criteria) this;
        }

        public Criteria andTaskStatusIsNull() {
            addCriterion("task_status is null");
            return (Criteria) this;
        }

        public Criteria andTaskStatusIsNotNull() {
            addCriterion("task_status is not null");
            return (Criteria) this;
        }

        public Criteria andTaskStatusEqualTo(Integer value) {
            addCriterion("task_status =", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusNotEqualTo(Integer value) {
            addCriterion("task_status <>", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusGreaterThan(Integer value) {
            addCriterion("task_status >", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_status >=", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusLessThan(Integer value) {
            addCriterion("task_status <", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusLessThanOrEqualTo(Integer value) {
            addCriterion("task_status <=", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusIn(List<Integer> values) {
            addCriterion("task_status in", values, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusNotIn(List<Integer> values) {
            addCriterion("task_status not in", values, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusBetween(Integer value1, Integer value2) {
            addCriterion("task_status between", value1, value2, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("task_status not between", value1, value2, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNull() {
            addCriterion("task_type is null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNotNull() {
            addCriterion("task_type is not null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeEqualTo(Integer value) {
            addCriterion("task_type =", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotEqualTo(Integer value) {
            addCriterion("task_type <>", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThan(Integer value) {
            addCriterion("task_type >", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_type >=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThan(Integer value) {
            addCriterion("task_type <", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThanOrEqualTo(Integer value) {
            addCriterion("task_type <=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIn(List<Integer> values) {
            addCriterion("task_type in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotIn(List<Integer> values) {
            addCriterion("task_type not in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeBetween(Integer value1, Integer value2) {
            addCriterion("task_type between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("task_type not between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskBackupTypeIsNull() {
            addCriterion("task_backup_type is null");
            return (Criteria) this;
        }

        public Criteria andTaskBackupTypeIsNotNull() {
            addCriterion("task_backup_type is not null");
            return (Criteria) this;
        }

        public Criteria andTaskBackupTypeEqualTo(Integer value) {
            addCriterion("task_backup_type =", value, "taskBackupType");
            return (Criteria) this;
        }

        public Criteria andTaskBackupTypeNotEqualTo(Integer value) {
            addCriterion("task_backup_type <>", value, "taskBackupType");
            return (Criteria) this;
        }

        public Criteria andTaskBackupTypeGreaterThan(Integer value) {
            addCriterion("task_backup_type >", value, "taskBackupType");
            return (Criteria) this;
        }

        public Criteria andTaskBackupTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_backup_type >=", value, "taskBackupType");
            return (Criteria) this;
        }

        public Criteria andTaskBackupTypeLessThan(Integer value) {
            addCriterion("task_backup_type <", value, "taskBackupType");
            return (Criteria) this;
        }

        public Criteria andTaskBackupTypeLessThanOrEqualTo(Integer value) {
            addCriterion("task_backup_type <=", value, "taskBackupType");
            return (Criteria) this;
        }

        public Criteria andTaskBackupTypeIn(List<Integer> values) {
            addCriterion("task_backup_type in", values, "taskBackupType");
            return (Criteria) this;
        }

        public Criteria andTaskBackupTypeNotIn(List<Integer> values) {
            addCriterion("task_backup_type not in", values, "taskBackupType");
            return (Criteria) this;
        }

        public Criteria andTaskBackupTypeBetween(Integer value1, Integer value2) {
            addCriterion("task_backup_type between", value1, value2, "taskBackupType");
            return (Criteria) this;
        }

        public Criteria andTaskBackupTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("task_backup_type not between", value1, value2, "taskBackupType");
            return (Criteria) this;
        }

        public Criteria andTaskFileTypeIsNull() {
            addCriterion("task_file_type is null");
            return (Criteria) this;
        }

        public Criteria andTaskFileTypeIsNotNull() {
            addCriterion("task_file_type is not null");
            return (Criteria) this;
        }

        public Criteria andTaskFileTypeEqualTo(Integer value) {
            addCriterion("task_file_type =", value, "taskFileType");
            return (Criteria) this;
        }

        public Criteria andTaskFileTypeNotEqualTo(Integer value) {
            addCriterion("task_file_type <>", value, "taskFileType");
            return (Criteria) this;
        }

        public Criteria andTaskFileTypeGreaterThan(Integer value) {
            addCriterion("task_file_type >", value, "taskFileType");
            return (Criteria) this;
        }

        public Criteria andTaskFileTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_file_type >=", value, "taskFileType");
            return (Criteria) this;
        }

        public Criteria andTaskFileTypeLessThan(Integer value) {
            addCriterion("task_file_type <", value, "taskFileType");
            return (Criteria) this;
        }

        public Criteria andTaskFileTypeLessThanOrEqualTo(Integer value) {
            addCriterion("task_file_type <=", value, "taskFileType");
            return (Criteria) this;
        }

        public Criteria andTaskFileTypeIn(List<Integer> values) {
            addCriterion("task_file_type in", values, "taskFileType");
            return (Criteria) this;
        }

        public Criteria andTaskFileTypeNotIn(List<Integer> values) {
            addCriterion("task_file_type not in", values, "taskFileType");
            return (Criteria) this;
        }

        public Criteria andTaskFileTypeBetween(Integer value1, Integer value2) {
            addCriterion("task_file_type between", value1, value2, "taskFileType");
            return (Criteria) this;
        }

        public Criteria andTaskFileTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("task_file_type not between", value1, value2, "taskFileType");
            return (Criteria) this;
        }

        public Criteria andTaskExectypeIsNull() {
            addCriterion("task_exectype is null");
            return (Criteria) this;
        }

        public Criteria andTaskExectypeIsNotNull() {
            addCriterion("task_exectype is not null");
            return (Criteria) this;
        }

        public Criteria andTaskExectypeEqualTo(Integer value) {
            addCriterion("task_exectype =", value, "taskExectype");
            return (Criteria) this;
        }

        public Criteria andTaskExectypeNotEqualTo(Integer value) {
            addCriterion("task_exectype <>", value, "taskExectype");
            return (Criteria) this;
        }

        public Criteria andTaskExectypeGreaterThan(Integer value) {
            addCriterion("task_exectype >", value, "taskExectype");
            return (Criteria) this;
        }

        public Criteria andTaskExectypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_exectype >=", value, "taskExectype");
            return (Criteria) this;
        }

        public Criteria andTaskExectypeLessThan(Integer value) {
            addCriterion("task_exectype <", value, "taskExectype");
            return (Criteria) this;
        }

        public Criteria andTaskExectypeLessThanOrEqualTo(Integer value) {
            addCriterion("task_exectype <=", value, "taskExectype");
            return (Criteria) this;
        }

        public Criteria andTaskExectypeIn(List<Integer> values) {
            addCriterion("task_exectype in", values, "taskExectype");
            return (Criteria) this;
        }

        public Criteria andTaskExectypeNotIn(List<Integer> values) {
            addCriterion("task_exectype not in", values, "taskExectype");
            return (Criteria) this;
        }

        public Criteria andTaskExectypeBetween(Integer value1, Integer value2) {
            addCriterion("task_exectype between", value1, value2, "taskExectype");
            return (Criteria) this;
        }

        public Criteria andTaskExectypeNotBetween(Integer value1, Integer value2) {
            addCriterion("task_exectype not between", value1, value2, "taskExectype");
            return (Criteria) this;
        }

        public Criteria andTaskUnitIsNull() {
            addCriterion("task_unit is null");
            return (Criteria) this;
        }

        public Criteria andTaskUnitIsNotNull() {
            addCriterion("task_unit is not null");
            return (Criteria) this;
        }

        public Criteria andTaskUnitEqualTo(Integer value) {
            addCriterion("task_unit =", value, "taskUnit");
            return (Criteria) this;
        }

        public Criteria andTaskUnitNotEqualTo(Integer value) {
            addCriterion("task_unit <>", value, "taskUnit");
            return (Criteria) this;
        }

        public Criteria andTaskUnitGreaterThan(Integer value) {
            addCriterion("task_unit >", value, "taskUnit");
            return (Criteria) this;
        }

        public Criteria andTaskUnitGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_unit >=", value, "taskUnit");
            return (Criteria) this;
        }

        public Criteria andTaskUnitLessThan(Integer value) {
            addCriterion("task_unit <", value, "taskUnit");
            return (Criteria) this;
        }

        public Criteria andTaskUnitLessThanOrEqualTo(Integer value) {
            addCriterion("task_unit <=", value, "taskUnit");
            return (Criteria) this;
        }

        public Criteria andTaskUnitIn(List<Integer> values) {
            addCriterion("task_unit in", values, "taskUnit");
            return (Criteria) this;
        }

        public Criteria andTaskUnitNotIn(List<Integer> values) {
            addCriterion("task_unit not in", values, "taskUnit");
            return (Criteria) this;
        }

        public Criteria andTaskUnitBetween(Integer value1, Integer value2) {
            addCriterion("task_unit between", value1, value2, "taskUnit");
            return (Criteria) this;
        }

        public Criteria andTaskUnitNotBetween(Integer value1, Integer value2) {
            addCriterion("task_unit not between", value1, value2, "taskUnit");
            return (Criteria) this;
        }

        public Criteria andTaskUnitCountIsNull() {
            addCriterion("task_unit_count is null");
            return (Criteria) this;
        }

        public Criteria andTaskUnitCountIsNotNull() {
            addCriterion("task_unit_count is not null");
            return (Criteria) this;
        }

        public Criteria andTaskUnitCountEqualTo(Integer value) {
            addCriterion("task_unit_count =", value, "taskUnitCount");
            return (Criteria) this;
        }

        public Criteria andTaskUnitCountNotEqualTo(Integer value) {
            addCriterion("task_unit_count <>", value, "taskUnitCount");
            return (Criteria) this;
        }

        public Criteria andTaskUnitCountGreaterThan(Integer value) {
            addCriterion("task_unit_count >", value, "taskUnitCount");
            return (Criteria) this;
        }

        public Criteria andTaskUnitCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_unit_count >=", value, "taskUnitCount");
            return (Criteria) this;
        }

        public Criteria andTaskUnitCountLessThan(Integer value) {
            addCriterion("task_unit_count <", value, "taskUnitCount");
            return (Criteria) this;
        }

        public Criteria andTaskUnitCountLessThanOrEqualTo(Integer value) {
            addCriterion("task_unit_count <=", value, "taskUnitCount");
            return (Criteria) this;
        }

        public Criteria andTaskUnitCountIn(List<Integer> values) {
            addCriterion("task_unit_count in", values, "taskUnitCount");
            return (Criteria) this;
        }

        public Criteria andTaskUnitCountNotIn(List<Integer> values) {
            addCriterion("task_unit_count not in", values, "taskUnitCount");
            return (Criteria) this;
        }

        public Criteria andTaskUnitCountBetween(Integer value1, Integer value2) {
            addCriterion("task_unit_count between", value1, value2, "taskUnitCount");
            return (Criteria) this;
        }

        public Criteria andTaskUnitCountNotBetween(Integer value1, Integer value2) {
            addCriterion("task_unit_count not between", value1, value2, "taskUnitCount");
            return (Criteria) this;
        }

        public Criteria andDbIdIsNull() {
            addCriterion("db_id is null");
            return (Criteria) this;
        }

        public Criteria andDbIdIsNotNull() {
            addCriterion("db_id is not null");
            return (Criteria) this;
        }

        public Criteria andDbIdEqualTo(Long value) {
            addCriterion("db_id =", value, "dbId");
            return (Criteria) this;
        }

        public Criteria andDbIdNotEqualTo(Long value) {
            addCriterion("db_id <>", value, "dbId");
            return (Criteria) this;
        }

        public Criteria andDbIdGreaterThan(Long value) {
            addCriterion("db_id >", value, "dbId");
            return (Criteria) this;
        }

        public Criteria andDbIdGreaterThanOrEqualTo(Long value) {
            addCriterion("db_id >=", value, "dbId");
            return (Criteria) this;
        }

        public Criteria andDbIdLessThan(Long value) {
            addCriterion("db_id <", value, "dbId");
            return (Criteria) this;
        }

        public Criteria andDbIdLessThanOrEqualTo(Long value) {
            addCriterion("db_id <=", value, "dbId");
            return (Criteria) this;
        }

        public Criteria andDbIdIn(List<Long> values) {
            addCriterion("db_id in", values, "dbId");
            return (Criteria) this;
        }

        public Criteria andDbIdNotIn(List<Long> values) {
            addCriterion("db_id not in", values, "dbId");
            return (Criteria) this;
        }

        public Criteria andDbIdBetween(Long value1, Long value2) {
            addCriterion("db_id between", value1, value2, "dbId");
            return (Criteria) this;
        }

        public Criteria andDbIdNotBetween(Long value1, Long value2) {
            addCriterion("db_id not between", value1, value2, "dbId");
            return (Criteria) this;
        }

        public Criteria andNodeIdIsNull() {
            addCriterion("node_id is null");
            return (Criteria) this;
        }

        public Criteria andNodeIdIsNotNull() {
            addCriterion("node_id is not null");
            return (Criteria) this;
        }

        public Criteria andNodeIdEqualTo(Long value) {
            addCriterion("node_id =", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdNotEqualTo(Long value) {
            addCriterion("node_id <>", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdGreaterThan(Long value) {
            addCriterion("node_id >", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("node_id >=", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdLessThan(Long value) {
            addCriterion("node_id <", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdLessThanOrEqualTo(Long value) {
            addCriterion("node_id <=", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdIn(List<Long> values) {
            addCriterion("node_id in", values, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdNotIn(List<Long> values) {
            addCriterion("node_id not in", values, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdBetween(Long value1, Long value2) {
            addCriterion("node_id between", value1, value2, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdNotBetween(Long value1, Long value2) {
            addCriterion("node_id not between", value1, value2, "nodeId");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathIsNull() {
            addCriterion("task_client_path is null");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathIsNotNull() {
            addCriterion("task_client_path is not null");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathEqualTo(String value) {
            addCriterion("task_client_path =", value, "taskClientPath");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathNotEqualTo(String value) {
            addCriterion("task_client_path <>", value, "taskClientPath");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathGreaterThan(String value) {
            addCriterion("task_client_path >", value, "taskClientPath");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathGreaterThanOrEqualTo(String value) {
            addCriterion("task_client_path >=", value, "taskClientPath");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathLessThan(String value) {
            addCriterion("task_client_path <", value, "taskClientPath");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathLessThanOrEqualTo(String value) {
            addCriterion("task_client_path <=", value, "taskClientPath");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathLike(String value) {
            addCriterion("task_client_path like", value, "taskClientPath");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathNotLike(String value) {
            addCriterion("task_client_path not like", value, "taskClientPath");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathIn(List<String> values) {
            addCriterion("task_client_path in", values, "taskClientPath");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathNotIn(List<String> values) {
            addCriterion("task_client_path not in", values, "taskClientPath");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathBetween(String value1, String value2) {
            addCriterion("task_client_path between", value1, value2, "taskClientPath");
            return (Criteria) this;
        }

        public Criteria andTaskClientPathNotBetween(String value1, String value2) {
            addCriterion("task_client_path not between", value1, value2, "taskClientPath");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}